Optimal. Leaf size=284 \[ -\frac{15}{8} c^2 d^2 x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )+\frac{15 c d^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{16 b \sqrt{c x-1} \sqrt{c x+1}}-\frac{5}{4} c^2 d x \left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{\left (d-c^2 d x^2\right )^{5/2} \left (a+b \cosh ^{-1}(c x)\right )}{x}-\frac{b c^5 d^2 x^4 \sqrt{d-c^2 d x^2}}{16 \sqrt{c x-1} \sqrt{c x+1}}+\frac{9 b c^3 d^2 x^2 \sqrt{d-c^2 d x^2}}{16 \sqrt{c x-1} \sqrt{c x+1}}+\frac{b c d^2 \log (x) \sqrt{d-c^2 d x^2}}{\sqrt{c x-1} \sqrt{c x+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.678239, antiderivative size = 315, normalized size of antiderivative = 1.11, number of steps used = 11, number of rules used = 9, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {5798, 5740, 5685, 5683, 5676, 30, 14, 266, 43} \[ -\frac{15}{8} c^2 d^2 x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{5}{4} c^2 d^2 x (1-c x) (c x+1) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )+\frac{15 c d^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{16 b \sqrt{c x-1} \sqrt{c x+1}}-\frac{d^2 (1-c x)^2 (c x+1)^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}-\frac{b c^5 d^2 x^4 \sqrt{d-c^2 d x^2}}{16 \sqrt{c x-1} \sqrt{c x+1}}+\frac{9 b c^3 d^2 x^2 \sqrt{d-c^2 d x^2}}{16 \sqrt{c x-1} \sqrt{c x+1}}+\frac{b c d^2 \log (x) \sqrt{d-c^2 d x^2}}{\sqrt{c x-1} \sqrt{c x+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5740
Rule 5685
Rule 5683
Rule 5676
Rule 30
Rule 14
Rule 266
Rule 43
Rubi steps
\begin{align*} \int \frac{\left (d-c^2 d x^2\right )^{5/2} \left (a+b \cosh ^{-1}(c x)\right )}{x^2} \, dx &=\frac{\left (d^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{(-1+c x)^{5/2} (1+c x)^{5/2} \left (a+b \cosh ^{-1}(c x)\right )}{x^2} \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{d^2 (1-c x)^2 (1+c x)^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac{\left (b c d^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{\left (-1+c^2 x^2\right )^2}{x} \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (5 c^2 d^2 \sqrt{d-c^2 d x^2}\right ) \int (-1+c x)^{3/2} (1+c x)^{3/2} \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{5}{4} c^2 d^2 x (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{d^2 (1-c x)^2 (1+c x)^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac{\left (b c d^2 \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \frac{\left (-1+c^2 x\right )^2}{x} \, dx,x,x^2\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (15 c^2 d^2 \sqrt{d-c^2 d x^2}\right ) \int \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{4 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (5 b c^3 d^2 \sqrt{d-c^2 d x^2}\right ) \int x \left (-1+c^2 x^2\right ) \, dx}{4 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{15}{8} c^2 d^2 x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{5}{4} c^2 d^2 x (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{d^2 (1-c x)^2 (1+c x)^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac{\left (b c d^2 \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \left (-2 c^2+\frac{1}{x}+c^4 x\right ) \, dx,x,x^2\right )}{2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (15 c^2 d^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{a+b \cosh ^{-1}(c x)}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{8 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (5 b c^3 d^2 \sqrt{d-c^2 d x^2}\right ) \int \left (-x+c^2 x^3\right ) \, dx}{4 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (15 b c^3 d^2 \sqrt{d-c^2 d x^2}\right ) \int x \, dx}{8 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{9 b c^3 d^2 x^2 \sqrt{d-c^2 d x^2}}{16 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{b c^5 d^2 x^4 \sqrt{d-c^2 d x^2}}{16 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{15}{8} c^2 d^2 x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{5}{4} c^2 d^2 x (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{d^2 (1-c x)^2 (1+c x)^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{x}+\frac{15 c d^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{16 b \sqrt{-1+c x} \sqrt{1+c x}}+\frac{b c d^2 \sqrt{d-c^2 d x^2} \log (x)}{\sqrt{-1+c x} \sqrt{1+c x}}\\ \end{align*}
Mathematica [A] time = 1.66892, size = 305, normalized size = 1.07 \[ \frac{1}{128} d^2 \left (\frac{16 a \left (2 c^4 x^4-9 c^2 x^2-8\right ) \sqrt{d-c^2 d x^2}}{x}+240 a c \sqrt{d} \tan ^{-1}\left (\frac{c x \sqrt{d-c^2 d x^2}}{\sqrt{d} \left (c^2 x^2-1\right )}\right )+64 b c \sqrt{d-c^2 d x^2} \left (\frac{2 \log (c x)+\cosh ^{-1}(c x)^2}{\sqrt{\frac{c x-1}{c x+1}} (c x+1)}-\frac{2 \cosh ^{-1}(c x)}{c x}\right )+\frac{32 b c \sqrt{d-c^2 d x^2} \left (2 \cosh ^{-1}(c x)^2+\cosh \left (2 \cosh ^{-1}(c x)\right )-2 \cosh ^{-1}(c x) \sinh \left (2 \cosh ^{-1}(c x)\right )\right )}{\sqrt{\frac{c x-1}{c x+1}} (c x+1)}-\frac{b c \sqrt{d-c^2 d x^2} \left (8 \cosh ^{-1}(c x)^2+\cosh \left (4 \cosh ^{-1}(c x)\right )-4 \cosh ^{-1}(c x) \sinh \left (4 \cosh ^{-1}(c x)\right )\right )}{\sqrt{\frac{c x-1}{c x+1}} (c x+1)}\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.255, size = 550, normalized size = 1.9 \begin{align*} -{\frac{a}{dx} \left ( -{c}^{2}d{x}^{2}+d \right ) ^{{\frac{7}{2}}}}-a{c}^{2}x \left ( -{c}^{2}d{x}^{2}+d \right ) ^{{\frac{5}{2}}}-{\frac{5\,da{c}^{2}x}{4} \left ( -{c}^{2}d{x}^{2}+d \right ) ^{{\frac{3}{2}}}}-{\frac{15\,{d}^{2}a{c}^{2}x}{8}\sqrt{-{c}^{2}d{x}^{2}+d}}-{\frac{15\,a{c}^{2}{d}^{3}}{8}\arctan \left ({x\sqrt{{c}^{2}d}{\frac{1}{\sqrt{-{c}^{2}d{x}^{2}+d}}}} \right ){\frac{1}{\sqrt{{c}^{2}d}}}}+{bc{d}^{2}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }\ln \left ( \left ( cx+\sqrt{cx-1}\sqrt{cx+1} \right ) ^{2}+1 \right ){\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}+{\frac{15\,b \left ({\rm arccosh} \left (cx\right ) \right ) ^{2}c{d}^{2}}{16}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}-{\frac{b{c}^{5}{d}^{2}{x}^{4}}{16}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}+{\frac{9\,b{c}^{3}{d}^{2}{x}^{2}}{16}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}-{bc{d}^{2}{\rm arccosh} \left (cx\right )\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}+{\frac{b{d}^{2}{\rm arccosh} \left (cx\right )}{ \left ( cx+1 \right ) \left ( cx-1 \right ) x}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}+{\frac{b{c}^{6}{d}^{2}{\rm arccosh} \left (cx\right ){x}^{5}}{ \left ( 4\,cx+4 \right ) \left ( cx-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}-{\frac{11\,{d}^{2}b{\rm arccosh} \left (cx\right ){c}^{4}{x}^{3}}{ \left ( 8\,cx+8 \right ) \left ( cx-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}+{\frac{{d}^{2}b{\rm arccosh} \left (cx\right ){c}^{2}x}{ \left ( 8\,cx+8 \right ) \left ( cx-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}-{\frac{33\,bc{d}^{2}}{128}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (a c^{4} d^{2} x^{4} - 2 \, a c^{2} d^{2} x^{2} + a d^{2} +{\left (b c^{4} d^{2} x^{4} - 2 \, b c^{2} d^{2} x^{2} + b d^{2}\right )} \operatorname{arcosh}\left (c x\right )\right )} \sqrt{-c^{2} d x^{2} + d}}{x^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (-c^{2} d x^{2} + d\right )}^{\frac{5}{2}}{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}}{x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]